//
//  PYPGridViewCell.swift
//  SimplePhotoFrameworkDemo
//
//  Created by Erickson on 16/3/30.
//  Copyright © 2016年 paiyipai. All rights reserved.
//

import UIKit

class PYPGridViewCell: UICollectionViewCell {
    
    @IBOutlet weak var checkButton: UIButton!
    @IBOutlet weak var imageView: UIImageView!
    
    var representedAssetIdentifier:String?
    override func prepareForReuse() {
        super.prepareForReuse()
        imageView.image = nil
        
    }
    
    func loadImage(_ image:UIImage?) {
        imageView.image = image
    }

    func loadStatus(){
        checkButton.isSelected = !checkButton.isSelected
    }
   
    
    
    @IBAction func checkButtonAction(_ sender: UIButton) {

    }
}

